package com.base.user.demo.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * @author lenovo
 * @version 1.0
 * @date 2025/5/8 13:51
 * @description TODO
 */



@RestController
public class HomeController {

    @GetMapping("/")
    public String home() {
        return "Welcome! You are authenticated with LDAP.";
    }

    @GetMapping("/public")
    public String publicPage() {
        return "This is a public page.";
    }
}
